import { Alert } from 'react-native';
import axios from '../../util/http';
export const getAllPhotosType = async () => {
    try {
        const res = await axios.get('/photoType/findAll');
        return res.data;
    } catch (e) {
        Alert.alert('请求失败', e.message);
        return null;
    }
};
